package com.agrm.model.rabc.dto;

import com.agrm.model.common.dtos.TreeEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@TableName(value = "t_rbac_menu", excludeProperty = {"parent", "children"})
@Getter
@Setter
public class Menu extends TreeEntity<Menu, Integer> {
    @TableId(type = IdType.AUTO)
    private Integer id;//主键
    private Integer parentId;//父菜单
    private String name;//菜单名称
    private String icon;//图标，对应于element-plus的图标
    private String url;//链接地址
    private Integer sort;//顺序号
    private String description;//备注
}
